<?php
global $_RQ,$_AR;
$this->juese_id=$_SESSION['juese_id'];
if(!$this->juese_id && $_RQ['is_access'] && $_RQ['action']!='login' && $_RQ['action']!='diaoca'  && $_RQ['action']!='myhome'){
	exi('','error','/login/');
}
$return['nogohome']=1;
$return['newheader']=1;
$return['toptitle']=$_SESSION['toptitle']?:$this->user_juese[$this->juese_id];
if($_SESSION['workerid'] && $_RQ['action']!='worker.change'){
	$worker=pdo_get('jy_yxw_worker',array('uniacid'=>$_SESSION['uniacid'],'id'=>$_SESSION['workerid']));
	if(base64_decode($worker['password'])=='123456'){
		exi('你的密码太简单，请修改','error','/worker.change/');
	}
}
?>